package test.ribbon.server;

import java.util.Scanner;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
@SpringBootApplication
public class RunServer {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String port = scan.nextLine();
		scan.close();
		new SpringApplicationBuilder(RunServer.class).properties("server.port="+port).run(args) ; 
		System.out.println("run server in port:"+port);
	}
}
